#ifndef CONTROLKNXFUNC_H
#define CONTROLKNXFUNC_H

#include <QObject>
#include "BaseFunc.h"
#include "DataType/SWKNXDataStruct.h"

class ControlKNXFunc : public BaseFunc
{
    Q_OBJECT
public:
    explicit ControlKNXFunc(QObject *parent = 0);

    enum {FunctionCode = DeviceFuntionCode::ControlKNX};


    QList<SWKNXDataStruct> sourceKNXList() const;
    void setSourceKNXList(const QList<SWKNXDataStruct> &sourceKNXList);

    QList<ControlPointStruct> controlPointList() const;
    void setControlPointList(const QList<ControlPointStruct> &controlPointList);


private:
    QList<SWKNXDataStruct> m_sourceKNXList;
    QList<ControlPointStruct> m_controlPointList;




   /* QList<ControlPointStruct> controlPointList() const;
    void setControlPointList(const QList<ControlPointStruct> &controlPointList);

    QList<ControlPointStruct> sourcePointList() const;
    void setSourcePointList(const QList<ControlPointStruct> &sourcePointList);

private:
    QList<ControlPointStruct> m_sourcePointList;
    QList<ControlPointStruct> m_controlPointList;*/
};
#endif // CONTROLKNXFUNC_H
